﻿using Inovout.Data.Domain;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace KuaJing.People.Domain
{
    partial class Person : DataObject
    {
        public Person()
        {
            this.Contacts = new DataObjectSet<Contact>();
        }
        [DataProperty("姓名", DataType.Text, null, false, 2, 50)]
        public virtual string Name { get; set; }
        public virtual ISet<Contact> Contacts { get; set; }

        public virtual string PhotoUrl { get; set; }
    }
}
